$OpenBSD: patch-Makefile_Linux,v 1.2 2017/04/19 23:07:53 espie Exp $
--- Makefile.Linux.orig	Wed Jul 17 22:10:55 1996
+++ Makefile.Linux	Fri Oct 26 23:07:06 2007
@@ -1,11 +1,11 @@
 
 ### compiler section
-CXX			= gcc -Wall -fstrength-reduce -fpcc-struct-return
-CXXFLAGS	   = -g -DUSE_MIT_SHM
+#CXX			= gcc -Wall -fstrength-reduce -fpcc-struct-return
+CXXFLAGS	   += -Wall -DUSE_MIT_SHM -I${X_INCLUDE}
 
 ### default file to be used, when no options are set
 
-JIG_DEFAULT = \"tina.gif\"
+JIG_DEFAULT = \"${PREFIX}/share/xjig/tina.gif\"
 
 ### Directories for include files of X11 and libraries
 
@@ -20,7 +20,7 @@ LDFLAGS		= -L$(XLIB_DIR)
 .SUFFIXES: .C .o
 
 .C.o:
-	$(CXX) -I$(X_INCLUDE) $(CXXFLAGS) -c $<
+	$(CXX) $(CXXFLAGS) -c $<
 
 LD	      = $(CXX)
 
